package com.yudean.esb.service;

import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 * Created by zenghui on 2015-05-19.
 * desc:
 */
@WebService
public interface ErpIdsInsDangerTypeService {

    /**
     *
     * @param dangerTypeXML
     * 格式：
     *  <?xml version="1.0" encoding="UTF-8"?>
     *   <service>
     *       <name>险种信息</name>
     *       <type>写入数据</type>
     *       <data>
     *           <ErpIdsInsDangerType>
     *               <insTypeCode>InsTypeCode</insTypeCode>
     *               <insTypeName>insName</insTypeName>
     *               <creationDate>2015-05-19 07:36:28.620 UTC</creationDate>
     *               <createdBy>11</createdBy>
     *               <lastUpdateDate>2015-05-19 07:36:28.620 UTC</lastUpdateDate>
     *               <lastUpdatedBy>11</lastUpdatedBy>
     *               <attribute1>attribute1</attribute1>
     *               <attribute2>attribute2</attribute2>
     *               <attribute3>attribute3</attribute3>
     *               <attribute4>attribute4</attribute4>
     *               <attribute5>attribute5</attribute5>
     *           </ErpIdsInsDangerType>
     *           <ErpIdsInsDangerType>
     *               ...
     *               <createdBy>11</createdBy>
     *               <lastUpdateDate>2015-05-19 07:36:28.620 UTC</lastUpdateDate>
     *               <lastUpdatedBy>11</lastUpdatedBy>
     *               <attribute1>attribute1</attribute1>
     *               ...
     *           </ErpIdsInsDangerType>
     *           ...
     *       </data>
     *   </service>
     *
     * @return
     */
    @WebMethod(action = "putDangerType")
    String putDangerType(String dangerTypeXML);
}
